﻿using UnityEngine;
using iTManager;
public class AnimationOfButton : MonoBehaviour {

	[SerializeField]
	private float animat_x=1.2f,animat_y=1.2f;
	void Start () {
		iTween.ScaleTo(this.gameObject, iTween.Hash("x",animat_x, "y", animat_y, 
		                                            "time", 2f, "looptype", "pingpong",
		                                            "easetype", "linear"));
	}
}
